package chain

type Config struct {
	TLSEnable     bool     `yaml:"tlsEnable"`     //是否使用tls
	Protocol      string   `yaml:"protocol"`      //ws or http
	Domain        string   `yaml:"domain"`        //主机
	Port          int      `yaml:"port"`          //端口
	KeyFile       string   `yaml:"keyFile"`       //私钥
	CertFile      string   `yaml:"certFile"`      //证书
	RootCertFiles []string `yaml:"rootCertFiles"` //根证书集合
	GraphqlPort   int      `yaml:"graphqlPort"`   //Graphql端口
	AdminNode     int      `yaml:"adminNode"`
	ConsensusNode int      `yaml:"consensusNode"`
}
